package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 权限添加request
 *
 * @author luokexiong
 * @version 1.0 2021/3/5
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PermissionAddRequest {
    @NotNull
    private Long pid;
    @NotBlank
    private String name;
    private String component;
    @NotBlank
    private String path;
    @NotBlank
    private String title;
    @NotBlank
    private String icon;
    private boolean hidden;
}
